package com.webcash.CNBoard.Model;

import org.springframework.stereotype.Component;

@Component
public class MyDepartment {
	private int deptNo;
	private int empNo;
	private String id;
	
	public MyDepartment(){
		
	}
	public MyDepartment(int deptNo, int empNo, String id){
		this.deptNo=deptNo;
		this.empNo=empNo;
		this.id=id;
	}
	public int getDeptNo() {
		return deptNo;
	}
	public void setDeptNo(int deptNo) {
		this.deptNo = deptNo;
	}
	
	public int getEmpNo() {
		return empNo;
	}
	public void setEmpNo(int empNo) {
		this.empNo = empNo;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Override
	public String toString() {
		return "MyDepartment [deptNo=" + deptNo + ", empNo=" + empNo + ", id="
				+ id + "]";
	}
	
	
}
